﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ContactManager.Common
{
    class Group
    {
        //分组对象，重写toString()
        private string _id;

        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        private int _sort;

        public int Sort
        {
            get { return _sort; }
            set { _sort = value; }
        }
        private int _editable;//0不可编辑,1可编辑 

        public int Editable
        {
            get { return _editable; }
            set { _editable = value; }
        }

        public override string ToString()
        {
            return this.Name;
        }

    }
}
